import { createApp } from 'vue'
import App from './App.vue'


//import './assets/main.css'

import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
import router from '@/router/index.js'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'




const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
//汉化
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(router)
app.use(ElementPlus)
app.mount('#app')








